package com.cuiyun97.service.impl;

import com.cuiyun97.domain.po.SetOss;
import com.cuiyun97.mapper.SetOssMapper;
import com.cuiyun97.service.SetOssService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SetOssServiceImpl implements SetOssService {

    @Resource
    private SetOssMapper setOssMapper;

    /**
     * 查询最后一条
     *
     * @return
     */
    @Override
    public SetOss getLastOne() {
        return setOssMapper.getLastOne();
    }

}
